package edu.hrbu.spring.service.impl;

import edu.hrbu.spring.mapper.UserMapper;
import edu.hrbu.spring.pojo.User;
import edu.hrbu.spring.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 徐登宇
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User getInfoById(Integer id) {
        return userMapper.getInfoById(id);
    }

}
